package com.example.demo.tlwbus;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Hexk
 * @since 2021-03-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class BusNetworkStatus extends BaseDomain {

    private static final long serialVersionUID = 1L;

    /**
     * ip
     */
    private String ip;

    /**
     * 端口
     */
    private String port;

    /**
     * 备注
     */
    private String remark;

    /**
     * 线路状态 0  异常 1 正常
     */
    private Integer lineStatus;

    /**
     * 网络状态 0  异常 1 正常
     */
    private Integer networkStatus;

    /**
     * 故障时间
     */
    private LocalDateTime breakdownTime;

    /**
     * 恢复时间
     */
    private LocalDateTime recoveryTime;

    /**
     * 机构ID
     */
    private String nodeId;
}
